package com.ihr360.payroll.service.salarytax.impl;

import com.ihr360.authority.sharing.annonation.AccessControl;
import com.ihr360.payroll.dao.TaxDivisionRepository;
import com.ihr360.payroll.model.dto.salary.basecode.TaxDivision;
import com.ihr360.payroll.service.salarytax.TaxDivisionService;
import com.ihr360.rest.reposity.SimpleRestReposity;
import com.ihr360.rest.service.AbstractSimpleRestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author richey
 */
@Service
@AccessControl(disableAll = true)
public class TaxDivisionServiceImpl extends AbstractSimpleRestServiceImpl<TaxDivision,Long> implements TaxDivisionService {

    @Autowired
    private TaxDivisionRepository taxDivisionReposity;


    @Override
    public SimpleRestReposity getSimpleRestReposity() {
        return taxDivisionReposity;
    }
}
